
/// Indicated where the image came from.
typedef NS_ENUM(NSUInteger, DateFormatType) {
    DateFormatTypeDefault = 0,/*yyyy-MM-dd HH:mm:ss*/
    DateFormatTypeFullWithHHmm,/*yyyy-MM-dd HH:mm*/
    DateFormatTypeOnlyDate,/*yyyy-MM-dd*/
    DateFormatTypeMonthDayWithHHmm,/*MM-dd HH:mm*/
    DateFormatTypeMonthDayWithHHmmss,/*MM-dd HH:mm:ss*/
};

@interface NSDateFormatter (Category)

//自定义
+(id)dateFormatterWithFormat:(NSString*)dateFormat;
//标准
+ (id)formatterWithType:(DateFormatType)dateFormatType;

@end
